package cn.bird.storm.validated.paramcheck.model.customize;

import cn.bird.storm.validated.paramcheck.inter.ICheckBean;
import lombok.Builder;
import lombok.Getter;

import java.util.function.Predicate;

@Getter
@Builder
public class CustomizeCheckBean implements ICheckBean<Object> {

    /**
     * 提示语
     */
    private String msg;

    private Object value;
    /**
     * 自定义检验工具
     */
    private Predicate<Object> passTest;

}
